package com.xk857.article.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xk857.article.mapper.LabelMapper;
import com.xk857.article.req.LabelREQ;
import com.xk857.article.service.ILabelService;
import com.xk857.entities.Label;
import org.springframework.stereotype.Service;

/**
 * 星空小屋-知识点表 服务实现类
 *
 * @author CV大魔王
 * @since 2021-02-21
 */
@Service
public class LabelServiceImpl extends ServiceImpl<LabelMapper, Label> implements ILabelService {
    @Override
    public IPage<Label> queryPage(LabelREQ req) {
        // 条件分页查询
        return baseMapper.queryPage(req.getPage(), req);
    }
}
